package orbroker.service.utility;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

class ModulePropertiesData {
	String brokerNameValue;
	String schemaValue;
	String dbcpDataSourceValue;
	String dbcpConfigFileValue;
	String logLevelValue;
	String brokerNameKey;
	String schemaKey;
	String dbcpDataSourceKey;
	String dbcpConfigFileKey;
	String logLevelKey;
	ModulePropertiesData(String brokerNameValue, String schemaValue,
			String dbcpDataSourceValue, String dbcpConfigFileValue, String logLevelValue, String brokerNameKey,
			String schemaKey, String dbcpDataSourceKey, String dbcpConfigFileKey, String logLevelKey) {
		super();
		this.brokerNameValue = brokerNameValue;
		this.schemaValue = schemaValue;
		this.dbcpDataSourceValue = dbcpDataSourceValue;
		this.dbcpConfigFileValue = dbcpConfigFileValue;
		this.logLevelValue = logLevelValue;
		this.brokerNameKey = brokerNameKey;
		this.schemaKey = schemaKey;
		this.dbcpDataSourceKey = dbcpDataSourceKey;
		this.dbcpConfigFileKey = dbcpConfigFileKey;
		this.logLevelKey = logLevelKey;
	}
	ModulePropertiesData() {
	}
	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.appendSuper(super.toString()).append("brokerNameValue",
						brokerNameValue).append("schemaValue", schemaValue)
				.append("dbcpDataSourceValue", dbcpDataSourceValue).append(
						"dbcpConfigFileValue", dbcpConfigFileValue).append(
						"logLevelValue", logLevelValue).append("brokerNameKey",
						brokerNameKey).append("schemaKey", schemaKey).append(
						"dbcpDataSourceKey", dbcpDataSourceKey).append(
						"dbcpConfigFileKey", dbcpConfigFileKey).append(
						"logLevelKey", logLevelKey).toString();
	}
	
}